package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大区会长预订单对象 zsyh_agent_order
 * 
 * @author yuexl
 * @date 2021-12-15
 */
public class ZsyhAgentOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 大区会长id */
    @Excel(name = "大区会长id")
    private String agentId;

    /** 状态（1已创建2已生成发货单3会长确认结算4厂家确认收款0已取消） */
    @Excel(name = "状态", readConverterExp = "状态（1已创建 2已接单 3已生成发货单 4会长确认结算0已取消）")
    private String orderState;

    private String orderStateName;

    /** 收货人 */
    @Excel(name = "收货人")
    private String orderName;

    /** 收货电话 */
    @Excel(name = "收货电话")
    private String orderPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String orderAddress;

    /** 预订合计金额 */
    @Excel(name = "预订合计金额")
    private BigDecimal orderBeginMoney;

    /** 发货合计金额 */
    @Excel(name = "发货合计金额")
    private BigDecimal orderEndMoney;

    /** 大区会长地址id */
    @Excel(name = "大区会长地址id")
    private String agentAddressId;

    /** 厂家id */
    @Excel(name = "厂家id")
    private String factoryId;

    /** 平台是否已确认 1是 0否 */
    @Excel(name = "平台是否已确认 1是 0否")
    private String isEnsurePlatform;

    private String agentName;

    private String agentPerson;

    private String agentPhone;

    private String factoryName;

    private String factoryProducts;

    private String factoryPhone;

    private String factoryReceive;

    private String factoryImages;

    private String isJoint;

    //合计
    private BigDecimal totalMoney;

    /** 大区会长预订单详细信息 */
    private List<ZsyhAgentOrderRel> zsyhAgentOrderRelList;

    private String bankName;

    private String bankUserName;

    private String bankCardNo;

    private String logistics;

    private String logisticsNo;

    private String logisticsImg;

    private int currentYear;

    private int currentMonth;

    private int orderNum;

    private String factoryNameVirtual;

    private String factoryPhoneVirtual;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAgentId(String agentId) 
    {
        this.agentId = agentId;
    }

    public String getAgentId() 
    {
        return agentId;
    }
    public void setOrderState(String orderState) 
    {
        this.orderState = orderState;
    }

    public String getOrderState() 
    {
        return orderState;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setOrderPhone(String orderPhone) 
    {
        this.orderPhone = orderPhone;
    }

    public String getOrderPhone() 
    {
        return orderPhone;
    }
    public void setOrderAddress(String orderAddress) 
    {
        this.orderAddress = orderAddress;
    }

    public String getOrderAddress() 
    {
        return orderAddress;
    }
    public void setOrderBeginMoney(BigDecimal orderBeginMoney) 
    {
        this.orderBeginMoney = orderBeginMoney;
    }

    public BigDecimal getOrderBeginMoney() 
    {
        return orderBeginMoney;
    }
    public void setOrderEndMoney(BigDecimal orderEndMoney) 
    {
        this.orderEndMoney = orderEndMoney;
    }

    public BigDecimal getOrderEndMoney() 
    {
        return orderEndMoney;
    }
    public void setAgentAddressId(String agentAddressId) 
    {
        this.agentAddressId = agentAddressId;
    }

    public String getAgentAddressId() 
    {
        return agentAddressId;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setIsEnsurePlatform(String isEnsurePlatform) 
    {
        this.isEnsurePlatform = isEnsurePlatform;
    }

    public String getIsEnsurePlatform() 
    {
        return isEnsurePlatform;
    }

    public List<ZsyhAgentOrderRel> getZsyhAgentOrderRelList()
    {
        return zsyhAgentOrderRelList;
    }

    public void setZsyhAgentOrderRelList(List<ZsyhAgentOrderRel> zsyhAgentOrderRelList)
    {
        this.zsyhAgentOrderRelList = zsyhAgentOrderRelList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentId", getAgentId())
            .append("orderState", getOrderState())
            .append("orderName", getOrderName())
            .append("orderPhone", getOrderPhone())
            .append("orderAddress", getOrderAddress())
            .append("orderBeginMoney", getOrderBeginMoney())
            .append("orderEndMoney", getOrderEndMoney())
            .append("agentAddressId", getAgentAddressId())
            .append("factoryId", getFactoryId())
            .append("isEnsurePlatform", getIsEnsurePlatform())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("zsyhAgentOrderRelList", getZsyhAgentOrderRelList())
            .toString();
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getFactoryProducts() {
        return factoryProducts;
    }

    public void setFactoryProducts(String factoryProducts) {
        this.factoryProducts = factoryProducts;
    }

    public String getFactoryPhone() {
        return factoryPhone;
    }

    public void setFactoryPhone(String factoryPhone) {
        this.factoryPhone = factoryPhone;
    }

    public String getOrderStateName() {
        return orderStateName;
    }

    public void setOrderStateName(String orderStateName) {
        this.orderStateName = orderStateName;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getFactoryReceive() {
        return factoryReceive;
    }

    public void setFactoryReceive(String factoryReceive) {
        this.factoryReceive = factoryReceive;
    }

    public String getFactoryImages() {
        return factoryImages;
    }

    public void setFactoryImages(String factoryImages) {
        this.factoryImages = factoryImages;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankUserName() {
        return bankUserName;
    }

    public void setBankUserName(String bankUserName) {
        this.bankUserName = bankUserName;
    }

    public String getBankCardNo() {
        return bankCardNo;
    }

    public void setBankCardNo(String bankCardNo) {
        this.bankCardNo = bankCardNo;
    }

    public String getLogistics() {
        return logistics;
    }

    public void setLogistics(String logistics) {
        this.logistics = logistics;
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }

    public int getCurrentYear() {
        return currentYear;
    }

    public void setCurrentYear(int currentYear) {
        this.currentYear = currentYear;
    }

    public int getCurrentMonth() {
        return currentMonth;
    }

    public void setCurrentMonth(int currentMonth) {
        this.currentMonth = currentMonth;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public String getLogisticsImg() {
        return logisticsImg;
    }

    public void setLogisticsImg(String logisticsImg) {
        this.logisticsImg = logisticsImg;
    }

    public String getFactoryNameVirtual() {
        return factoryNameVirtual;
    }

    public void setFactoryNameVirtual(String factoryNameVirtual) {
        this.factoryNameVirtual = factoryNameVirtual;
    }

    public String getFactoryPhoneVirtual() {
        return factoryPhoneVirtual;
    }

    public void setFactoryPhoneVirtual(String factoryPhoneVirtual) {
        this.factoryPhoneVirtual = factoryPhoneVirtual;
    }

    public String getAgentPerson() {
        return agentPerson;
    }

    public void setAgentPerson(String agentPerson) {
        this.agentPerson = agentPerson;
    }

    public String getAgentPhone() {
        return agentPhone;
    }

    public void setAgentPhone(String agentPhone) {
        this.agentPhone = agentPhone;
    }

    public String getIsJoint() {
        return isJoint;
    }

    public void setIsJoint(String isJoint) {
        this.isJoint = isJoint;
    }
}
